﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo04
{
    class Program
    {
        static void Main(string[] args)
        {
            Bird b = new Bird();
            b.Fly();
            b.Land();
            b.LayEggs();
            b.Takeoff();
            Test(b);
        }

        public static void Test(Animals a)
        {
            a.Eat();
        }
    }
}
